package com.tmc.platform.jinri;

import java.util.List;
import org.springframework.stereotype.Service;

import com.tmc.bean.common.CommonResult;
import com.tmc.constant.FareConstant.Platform;
import com.tmc.entity.common.EthInterfaceAccount;
import com.tmc.entity.intair.CommisionPolicy;
import com.tmc.entity.intair.PrivateFare;
import com.tmc.platform.common.PolicyService;
import com.tmc.platform.jinri.util.OpenJinriUtil;

@Service
public class JinriPolicyServiceImpl implements PolicyService {

	public String getOthersPolicy(String random, String orderid, String third){
		return OpenJinriUtil.getOtherPolicy(random, orderid, third);
	}
	
	public CommonResult createOrder(String random, String pnr) {
		CommonResult cr = OpenJinriUtil.getCreateOrder(random, pnr);
		return cr;
	}

	
	@Override
	public Platform getPlatForm() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public EthInterfaceAccount getAccount() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CommonResult syncPolicysFromPlatform() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CommonResult syncCommisionPolicysToPlatform(List<CommisionPolicy> policys) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public CommonResult syncPrivateFaresToPlatform(List<PrivateFare> fares) {
		// TODO Auto-generated method stub
		return null;
	}

	
}
